#include "Constants.h"
#include <iostream>

using namespace std;

class Data_Generator {
public:
    Data_Generator();
    ~Data_Generator();

    void setWorkspace(const string &s);
    string getWorkspace() const;
    void make_input(const string &prefix, int data_id, const string &ext, auto input, const string &info);
    void make_bad_input(const string &prefix, int data_id, const string &ext, auto input, const string &info);

private:
    string workspace;
    string in;
} data_generator;

class Solver {
public:
    Solver();
    ~Solver();

    void setWorkspace(const string &s);
    string getWorkspace() const;
    void solveOne() const;
    void make_output(const string &prefix, int data_id, const string &ext, auto solution, const string &info);

private:
    string workspace;
    string in;
    string out;
} solver;